//
//  HomeDetialHeaderVIew.h
//  Arts1
//
//  Created by Mac Jc on 15/10/4.
//  Copyright © 2015年 Arts1. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeDetialModel.h"

//传值（头部的高度）
typedef void(^HeaderHeight)(CGFloat);
@interface HomeDetialHeaderVIew : UITableViewCell
+ (CGFloat)heightOfCell:(HomeDetialModel *)model;
+ (CGFloat)heightOfDetiallCell:(HomeDetialModel *)model;
//+ (CGFloat)heightOfHeader:(HomeDetialModel *)model;

@property (nonatomic ,copy) HeaderHeight headerHeight;

@property (nonatomic,strong) UIImageView *backgroundImageView;
//  获取图片高度
@property (nonatomic,assign) CGFloat imageViewHeight;
@property (nonatomic,assign) CGFloat describeLabelHeight;

@property (nonatomic,strong) UIView *shadowView;
@property (nonatomic,strong) UIView *backgroundShadowView;

@property (nonatomic, strong) UIImageView *iconView;

@property (nonatomic, strong) UILabel *authorLabel;
@property (nonatomic, strong) UILabel *privinceLabel;
@property (nonatomic, strong) UIButton *collectionButton;

@property (nonatomic, strong) UILabel *describeLabel;
@property (nonatomic, strong) UILabel *tagLabel;

@property (nonatomic, retain) UIImageView *viewNumImageView;
@property (nonatomic, retain) UILabel *viewNumLabel;
@property (nonatomic, strong) UIImageView *goodNumImageView; // 点赞图标
@property (nonatomic, strong) UILabel *goodLabel; // 点赞人数

@property (nonatomic, strong) UILabel *commentNumLabel;

@property (nonatomic,strong) UIView *lineView;

@property (nonatomic ,strong) HomeDetialModel *model;

//记录收藏状态
@property (nonatomic ,assign) int status;
@property (nonatomic ,strong) NSString *good;

@end
